package tianrun.ziguan.api.calculate.config.dto.request.sync;

import tianrun.ziguan.api.calculate.config.enums.MoldEnum;
import tianrun.ziguan.api.calculate.config.service.sync.SyncType;

import java.util.Set;

public class SyncData {

    private final SyncType type;
    private final MoldEnum sourceMold;
    private final Set<Long> moduleIds;
    private final Set<Long> templateIds;

    public SyncData(SyncType type, MoldEnum sourceMold, Set<Long> moduleIds, Set<Long> templateIds) {
        this.type = type;
        this.sourceMold = sourceMold;
        this.moduleIds = moduleIds;
        this.templateIds = templateIds;
    }

    public SyncType getType() {
        return type;
    }

    public MoldEnum getSourceMold() {
        return sourceMold;
    }

    public Set<Long> getModuleIds() {
        return moduleIds;
    }

    public Set<Long> getTemplateIds() {
        return templateIds;
    }

}
